package com.cg.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cg.dto.DeleteLikeDTO;
import com.cg.entity.UserLike;
import com.cg.result.R;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 加
 * @since 2025-01-17
 */
public interface ILikeService extends IService<UserLike> {
    R<List<UserLike>> showLikes(Long userId);

    Long selectUserIdByLikeId(Long likeId);

    UserLike selectLikeById(Long likeId);

    R deleteLike(DeleteLikeDTO deleteLikeDTO);
}
